/*auto*/

body { margin:50px; background-color: #E0E0E0; }

div { animation: myfirst 5s infinite; padding: 20px; border-radius: 4px; }


@keyframes myfirst {
    from { background: red; }
    to { background: yellow; }
}